using OpenQA.Selenium;

namespace YatFram.Browser.Selenium
{
    public class SeleniumTextBox : SeleniumHtmlElement, InputElement
    {
        public SeleniumTextBox(IWebElement textBox) : base(textBox)
        {
        }

        public void EnterText(string value)
        {
            element.SendKeys(value);
        }

        public string Value
        {
            get { return element.Value; }
        }
    }
}